.TH std::scoped_allocator_adaptor::inner_allocator 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::scoped_allocator_adaptor::inner_allocator \- std::scoped_allocator_adaptor::inner_allocator

.SH Synopsis
   Defined in header <scoped_allocator>
   inner_allocator_type& inner_allocator() noexcept;             \fB(1)\fP \fI(since C++11)\fP
   const inner_allocator_type& inner_allocator() const noexcept; \fB(2)\fP \fI(since C++11)\fP

   Obtains a reference to the inner allocator used to declare this
   scoped_allocator_adaptor.

   If sizeof...(InnerAllocs) == 0, that is, no inner allocators were declared, returns
   *this. Otherwise returns a reference to
   std::scoped_allocator_adaptor<InnerAllocs...>, that is, a scoped allocator composed
   of all inner allocators of *this, with the first inner allocator becoming the outer
   allocator.

.SH Parameters

   \fI(none)\fP

.SH Return value

   A reference to the inner allocator, which is itself a std::scoped_allocator_adaptor.

.SH See also

   outer_allocator obtains an outer_allocator reference
                   \fI(public member function)\fP
